﻿using System;
using System.Reflection;

namespace MessagePack.Internal
{
	// Token: 0x02000067 RID: 103
	internal static class ReflectionExtensions
	{
		// Token: 0x06000190 RID: 400 RVA: 0x000062B2 File Offset: 0x000046B2
		public static bool IsNullable(this TypeInfo_wzh type)
		{
			return type.IsGenericType && type.GetGenericTypeDefinition() == typeof(Nullable<>);
		}

		// Token: 0x06000191 RID: 401 RVA: 0x000062D4 File Offset: 0x000046D4
		public static bool IsPublic(this TypeInfo_wzh type)
		{
			return type.IsPublic;
		}
	}
}
